<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class SoapRequestXmlFixer</title>
			<link rel="stylesheet" href="../../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class SoapRequestXmlFixer</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
															<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The SOAP XML request fixer used to fix some inconsistencies among the  different versions of the PHP SoapClient.</p>
		<p class="notes">
			Located in <a class="field" href="_Ads---Common---Util---SoapRequestXmlFixer.php.html">/Ads/Common/Util/SoapRequestXmlFixer.php</a> (line <span class="field">41</span>)
		</p>
		
				
		<pre></pre>
	
			</div>
</div>




	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
												<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																				
												<div class="method-definition">
											<span class="method-result">SoapRequestXmlFixer</span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
											(<span class="var-type">boolean</span>&nbsp;<span class="var-name">$addXsiTypes</span>, <span class="var-type">boolean</span>&nbsp;<span class="var-name">$removeEmptyElements</span>, <span class="var-type">boolean</span>&nbsp;<span class="var-name">$replaceReferences</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#FixXml" title="details" class="method-name">FixXml</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$request</span>, <span class="var-type">array</span>&nbsp;<span class="var-name">$arguments</span>, <span class="var-type">array</span>&nbsp;<span class="var-name">$headers</span>)
									</div>
								</div>
		</div>
	</div>		

	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
																<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>

<a name="method__construct" id="__construct"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">Constructor __construct</span> (line <span class="line-number">57</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Constructor to determine how the XML should be fixed.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">SoapRequestXmlFixer</span>
		<span class="method-name">
			__construct
		</span>
					(<span class="var-type">boolean</span>&nbsp;<span class="var-name">$addXsiTypes</span>, <span class="var-type">boolean</span>&nbsp;<span class="var-name">$removeEmptyElements</span>, <span class="var-type">boolean</span>&nbsp;<span class="var-name">$replaceReferences</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">boolean</span>
				<span class="var-name">$addXsiTypes</span><span class="var-description">: <var>TRUE</var> if xsi:types should be added      to all complex type elements</span>			</li>
					<li>
				<span class="var-type">boolean</span>
				<span class="var-name">$removeEmptyElements</span><span class="var-description">: <var>TRUE</var> if all empty elements      should be removed from the XML request</span>			</li>
					<li>
				<span class="var-type">boolean</span>
				<span class="var-name">$replaceReferences</span><span class="var-description">: <var>TRUE</var> if element references      should be replaced with a copy of the element.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodFixXml" id="FixXml"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">FixXml</span> (line <span class="line-number">71</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Fixes the XML based on the parameters specified in the constructor.</p>
	<ul class="tags">
				<li><span class="field">return:</span> the prepared request ready to be sent to the server</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			FixXml
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$request</span>, <span class="var-type">array</span>&nbsp;<span class="var-name">$arguments</span>, <span class="var-type">array</span>&nbsp;<span class="var-name">$headers</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$request</span><span class="var-description">: the raw request produced by the SOAP client</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$arguments</span><span class="var-description">: the arguments passed to the SOAP method</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$headers</span><span class="var-description">: the headers used in the request</span>			</li>
				</ul>
		
			
	</div>
						
		</div>
	</div>


	<p class="notes" id="credit">
		Documentation generated by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
	</p>
	</div></body>
</html>